package com.lintf.nacos;

import org.springframework.beans.factory.annotation.Value;
import org.springframework.stereotype.Component;

/**
 * @author lin tingfeng
 * @ system Mac
 * @ data 2025/3/20 15:28
 * @ package_name com.lintf
 * @ project_name spring-ai
 * @ desc
 */
@Component
public class UserService {

    @Value("${k1}")
    private String k1;

    public void getConfig() {
        System.out.println(k1);
    }

}
